﻿//02.Write a program that shows the sign (+ or -) of the product
//of three real numbers without calculating it. Use a sequence of if statements.

using System;

namespace ShowSign
{
    class ProductSign
    {
        static void Main()
        {
            Console.Write("Please enter the first number: ");
            int a = int.Parse(Console.ReadLine());
            Console.Write("Please enter the second number: ");
            int b = int.Parse(Console.ReadLine());
            Console.Write("Please enter the third number: ");
            int c = int.Parse(Console.ReadLine());

            if (a + b + c > 0)
            {
                Console.WriteLine("The sum is a positive + number.");
            }
            else if (a + b + c == 0)
            {
                Console.WriteLine("The sum is 0.");
            }
            else
            {
                Console.WriteLine("The sum is a negative - number.");
            }
        }
    }
}
